<template>
  <div style="width: 100%">
  </div>
</template>

<script>
import axios from "axios";
import Vue from "vue";
import Detail from "../Detail";
Vue.filter("actorfilter",function (data){
  //过滤器
  //map映射把原始数据映射出来，
  var newlist = data.map(item=>item.name)
  return newlist.join(' ')
})
export default {
  name: "wrr",
  components:{Detail},
  data(){
    return{
      datalist:[]
    }
  },
  mounted() {
    // console.log( this.$route.params.id)
    // this.$route.params.id;
    // axios({
    //   url:"https://m.maizuo.com/gateway?cityId=110100&pageNum=1&pageSize=10&type=2&k=483965",
    //   headers:{
    //    'X-Client-Info': '{"a":"3000","ch":"1002","v":"5.0.4","e":"16200862756251397913772033","bc":"110100"}',
    //    'X-Host': 'mall.film-ticket.film.list'
    //   }
    // }).then(res=>{
    //   console.log(res.data);
    //   this.datalist = res.data.data.films;
    // })

  },
  methods:{
    handleChangePage(id){
      // console.log(id)
      this.$router.push({name:'Detail',params:{id:id}})
    }
  }
}
</script>

<style scoped>

</style>
